QT       += core gui widgets
TEMPLATE = lib       #表示这个makefile是一个lib的makefile，应用程序则为app
CONFIG   += plugin    #应用程序是一个插件
TARGET   = CpeVendorHUAWEI  #生成插件的名称

HEADERS += \
    cpevendorhuawei.h

SOURCES += \
    cpevendorhuawei.cpp

FORMS += \
    cpevendorhuawei.ui

DISTFILES += \
    cpevendorhuawei.json

win32:CONFIG(debug, debug|release):DESTDIR = ../CpeManager/debug/plugin
win32:CONFIG(release, debug|release):DESTDIR = ../CpeManager/release/plugin

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../CpeManager/release/ -lCpePluginManager
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../CpeManager/debug/ -lCpePluginManager
else:unix: LIBS += -L$$OUT_PWD/../CpePluginManager/ -lCpePluginManager_arm64-v8a

INCLUDEPATH += $$PWD/../CpePluginManager
DEPENDPATH += $$PWD/../CpePluginManager

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../CpeManager/release/ -lCpeBar
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../CpeManager/debug/ -lCpeBar
else:unix: LIBS += -L$$OUT_PWD/../CpeBar/ -lCpeBar_arm64-v8a

INCLUDEPATH += $$PWD/../CpeBar
DEPENDPATH += $$PWD/../CpeBar
